﻿namespace Baggr.FeedParser.Rss
{
    using System;
    using System.ComponentModel;
    using System.Diagnostics;
    using System.Xml.Serialization;

    [Serializable]
    [DebuggerStepThrough]
    [DesignerCategory("code")]
    public class RssGuid
    {
        public RssGuid()
        {
            IsPermaLink = true;
        }

        /// <summary>
        /// The is perma link.
        /// </summary>
        /// <remarks>
        /// </remarks>
        [XmlAttribute("isPermaLink")]
        [DefaultValue(true)]
        public bool IsPermaLink { get; set; }

        [XmlText]
        public string Value { get; set; }
    }
}
